import mydemo

myobj = mydemo.MyObject(value = 1234)
myobj2 = mydemo.MyObject()

print(myobj2.value)

myobj2.value = myobj2.value + myobj.value
print(myobj2.value)

class MyClass(mydemo.MyObject):
    pass

myobj3 = MyClass(value = 5678)
print(myobj3.value)